package com.example.haoqisystem.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CreateStudentRequest {
    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "性别")
    private Integer gender;

    @ApiModelProperty(value = "公司名")
    private String companyName;

    @ApiModelProperty(value = "工作地点")
    private String workPlace;

    @ApiModelProperty(value = "技术水平")
    private String technicalLevel;

    @ApiModelProperty(value = "邮箱(验证格式，用来接受通知)")
    @Column(nullable = false)
    private String email;

    @ApiModelProperty(value = "账号(验证格式，这里会有唯一性校验)")
    @Column(nullable = false)
    private String account;

    @ApiModelProperty(value = "密码(密码格式校验)(至少包含大写字母、小写字母、数字 8-16位)")
    @Column(nullable = false)
    private String password;
}
